/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package embeddedpaint.model.feature;

import embeddedpaint.model.layers.LayerManager;
import embeddedpaint.user_interface.tools.ToolsChangeOpacity;
import embeddedpaint.user_interface.tools.ToolsCreateTextLayer;
import embeddedpaint.user_interface.tools.ToolsDrawPen;
import embeddedpaint.user_interface.tools.ToolsLoadPicture;
import embeddedpaint.user_interface.tools.ToolsMovePicture;
import embeddedpaint.user_interface.tools.ToolsRotatePicture;
import embeddedpaint.user_interface.tools.ToolsSavePicture;
import embeddedpaint.user_interface.tools.ToolsScalePicture;
import embeddedpaint.user_interface.tools.ToolsUpdatePropreties;
import java.util.ArrayList;
import javax.swing.JFrame;

public class ToolListManager
{
    private ArrayList<AImageTool> m_toolList;

    public ToolListManager (LayerManager imageManager, JFrame application)
    {
        this.m_toolList = new ArrayList<>();

        this.initTools(imageManager, application);
    }

    private void initTools (LayerManager imageManager, JFrame application)
    {
        this.m_toolList.add(new ToolsUpdatePropreties   (imageManager, application));
        this.m_toolList.add(new ToolsLoadPicture        (imageManager, application));
        this.m_toolList.add(new ToolsCreateTextLayer    (imageManager, application));
        this.m_toolList.add(new ToolsSavePicture        (imageManager, application));
        this.m_toolList.add(new ToolsMovePicture        (imageManager, application));
        this.m_toolList.add(new ToolsRotatePicture      (imageManager, application));
        this.m_toolList.add(new ToolsScalePicture       (imageManager, application));
        this.m_toolList.add(new ToolsChangeOpacity      (imageManager, application));
        this.m_toolList.add(new ToolsDrawPen            (imageManager, application));
    }

    public ArrayList<AImageTool> getM_toolList ()
    {
        return m_toolList;
    }
}
